package com.qidian.buy.goods.mapper;

import com.qidian.buy.pojo.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2024-07-17 09:35:59
 */
public interface ItemMapper extends BaseMapper<Item> {
    int insertItemAndSepRelation(@Param("itemId") Long itemId, @Param("speId") Long speId);
    List<Item> selectByPage(@Param("start") int start, @Param("limit") int limit, @Param("item") Item item);
    int selectTotal(Item item);
}
